<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="/WEB-INF/tld/c-rt.tld"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>碎言碎语 - 程清骏个人博客网站</title>
<link href="css/base.css" rel="stylesheet">
<link href="css/mood.css" rel="stylesheet">
<!-- 返回顶部调用 begin -->
<link href="css/lrtk.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<!-- 返回顶部调用 end-->
</head>
<body>
<jsp:include flush="true" page="/top.jsp" />
<div class="moodlist">
  <h1 class="t_nav"><span>删删写写，回回忆忆，虽无法行云流水，却也可碎言碎语。</span><a href="/" class="n1">网站首页</a><a href="#" class="n2">碎言碎语</a></h1>
  <div class="bloglist">
  <c:forEach items="${list}" var="element" varStatus="status">
    <ul class="arrow_box">
     <div class="sy"> <p>
    <c:choose>
    <c:when test="${element.inImageUrl!=null or element.inImageUrl==''}">
    <img src="${element.inImageUrl}" alt="${element.title}" />
    </c:when>
  </c:choose>
   ${element.context}
    </p></div>
      <span class="dateview">${element.publishDate}</span>
    </ul>
	  	 </c:forEach>
	  	 <div class="line"></div>
    <div class="blank"></div>
    <div class="page">${content}</div>
  </div>
</div>
<script src="js/i.js" type="text/javascript"></script>
<jsp:include flush="true" page="/bottom.jsp" />
</body>
</html>
